#!/bin/sh
nums="1 2"
problem="foo"
solver="ga"
for i in ${nums}
do
	echo ${i}
	mkdir -p "../!res/${problem}/${i}"
	export OMP_NUM_THREADS=${i}
	"../${solver}/omp/Release/generic_${solver}_omp" "${solver}_${problem}.ini" > "../!res/${problem}/${i}/${solver}.omp.txt"
done

